<?php
/**
 * Created by PhpStorm.
 * User: weiwei
 * Date: 2019-08-24
 * Time: 22:13
 */

use think\facade\Env;

return [
    'app_id' => Env::get('ALIAPY.ALIAPY_APPID','2021001153632235'),
    'notify_url' => Env::get('ALIAPY.ALIAPY_NOTIY'),
    'return_url' => Env::get('ALIAPY.ALIAPY_RETURN'),
    'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApbSHpJWD/E0pkhHQ7qReZhRHV6CWKwUZZGeWpwsicQ87wvk8+zvM3idW5vkHEVHwkmLhAX9EpktouyHns251tL3RWLSccxtS5EDXuzw8EjBEfQ/Z/MsfxeXv9WZcVRX03iCAKs5AMcgH8LKFDiriaddxdDcGmofULva3G/BiKOq97smzpwDWjlc7o2k/78eVnktIgkF3PBWK7wXYRCLCjnOgCY+oMyAznb777LbyG6+/umBcIW3Dmc51gtD/BD2Pg5SxoJvKcVGhm4UXJ40XK7YcdMFcTQyifpMO9Kyaa4NDrRaD5POIMvd5VLznpMwburJyLhGK8q02n6WrYpiqEwIDAQAB',
    // 加密方式： **RSA2**
    'private_key' => 'MIIEpAIBAAKCAQEApKr4VEdfAaJCsPEVoWShPC23kE5Pm4AAdyCPSm0tIiS2viRC7ord5+UdWJvmXVL3cz3INPB0F4aNEjIOlZu4V/F8gXXeTxa3Q/SFng3FbRb/2WfnbJVimt7tmHkfxBfsHQ54vTBR5BFTcRYy0P2MB8AVnjPb+cl7z4sVFt40juVPiYlGUYuVwAWIJi7DUEo8tebcHeC6X3/hagDKSbBThyMJQ0Br0tbC6TDMIf/TE7xc3nPEYkQswzlLK+sjN8mQfLOkQv3AaFcuJSzprArHF9v/KCuEo26+QNEeTRaa63plSonTW15D7ST0nZ/bvNxDCs8bKyTaiZw7E0ypTIsiVwIDAQABAoIBAQCNB4TRoaLD4nVd18zfwjC5OqppZDiYBGPhozg11RV/lZQRezr71GFDV53vou4EZadawsIyXPIAqBMwT0Dgb1LNtxwcQJfagqkJAWZiv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b4WFgqUspDKIgePyQ9h3vEkJ3wTKQa6S7PYevp/w==',
    // 使用公钥证书模式，请配置下面两个参数，同时修改ali_public_key为以.crt结尾的支付宝公钥证书路径，如（./cert/alipayCertPublicKey_RSA2.crt）
    // 'app_cert_public_key' => Env::get('ALIAPY.ALIAPY_CERT_PATH'), //应用公钥证书路径
    // 'alipay_root_cert' => Env::get('ALIAPY.ALIAPY_ROOT_PATH'), //支付宝根证书路径
    'log' => [ // optional
        'file' => './logs/alipay.log',
        'level' => 'info', // 建议生产环境等级调整为 info，开发环境为 debug
        'type' => 'single', // optional, 可选 daily.
        'max_file' => 30, // optional, 当 type 为 daily 时有效，默认 30 天
    ],
    'http' => [ // optional
        'timeout' => 5.0,
        'connect_timeout' => 5.0,
        // 更多配置项请参考 [Guzzle](https://guzzle-cn.readthedocs.io/zh_CN/latest/request-options.html)
    ],
    'mode' => Env::get('ALIAPY.ALIAPY_MODE','normal'), // optional,设置此参数，将进入沙箱模式
];